Use name instead of pid in QEMU logs.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 4 Jun 2007 14:17:49 +0000 (15:17 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 4 Jun 2007 14:17:49 +0000 (15:17 +0100)
commitfe26a9d2961fab05353fb0d8b1a38b1961dee8cf
treef393cad5a9385a97e8d99a7be269d112962ea2c8
parent96763f7c9a2e976f75af2c32ebf169c0334dc7e0
Use name instead of pid in QEMU logs.

Change the logfile name generated by qemu-dm to use the pattern
qemu-dm-[NAME].log instead of qemu-dm-[PID].log. This makes it
easier for the adminsitrator to figure out which log corresponds to
which guest (particularly after a crash where you no long know what
PID the qemu-dm process for your guest had). It also prevents the
number of log files from growing unbounded.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/ioemu/target-i386-dm/exec-dm.c
tools/ioemu/vl.c